package oss

import (
	"context"
	"gitee.com/ymofen/golog"
	"io"
)

type OSSOperator interface {
	PutObject(ctx context.Context, buketName string, objectKey string, input io.Reader) error
	GetObject(ctx context.Context, buketName string, objectKey string, output io.Writer) error
	DeleteObject(ctx context.Context, buketName string, objectKey string) error
}

var (
	logger golog.Logger = golog.NullLogger
)
